package com.javatest.chapter4;

import java.util.Date;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/1/27 21:03
 */
public class Sub extends Super {
    private final Date date;

    public Sub() {
        date = new Date();
    }

    public static void main(String[] args) {
        Sub sub = new Sub();
        sub.overrideMe();
    }

    @Override
    public void overrideMe() {
        System.out.println(date);
    }
}
